<?php

namespace app\admin\validate;

use think\Validate;

class GenerateValidate extends Validate
{

    protected $rule = [
        'gen_base' => 'require',
        'gen_base_list' => 'require',
        'gen_edit_form' => 'require',
        'gen_del_form' => 'require',
        'gen_search_list' => 'array',
    ];
    protected $message = [
        'gen_base.require' => '请配置基础信息',
        'gen_base_list.require' => '请配置字段基础信息',
        'gen_edit_form.require' => '请配置编辑信息',
        'gen_del_form.require' => '请配置删除信息',
        'gen_search_list.require' => '请配置搜索信息',
    ];

}